package com.heer.gymnasium.broadreceiver;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

import com.heer.gymnasium.service.MessageService;

/**
 * Created by admin on 2017/8/2.
 */

public class AlarmMessageRecever extends BroadcastReceiver {
    @Override
    public void onReceive(Context context, Intent intent) {

        Intent i=new Intent(context, MessageService.class);
        context.startService(i);
    }
}
